<?php
$this->breadcrumbs=array();

$this->sidebarTop = array(
    'label' => Yii::t('BackEnd', "Email template"),
    'link' => Yii::app()->request->baseUrl."/emailTemplate/index.html"
);

$this->menu=array(
	array('label'=>Yii::t('BackEnd', 'List email templates'), 'url'=>array('index'), 'visible'=>!UserAccess::checkAccess('EmailTemplateAdmin')),
	array('label'=>Yii::t('BackEnd', 'Manage email templates'), 'url'=>array('admin'), 'visible'=>UserAccess::checkAccess('EmailTemplateAdmin')),
    array('label'=>Yii::t('BackEnd', 'Save'), 'url'=>'javascript:void(0)', 'linkOptions'=>array('onclick'=>'document.getElementById(\'email-template-form\').submit();return false;')),
    array('label'=>Yii::t('BackEnd', 'Reset'), 'url'=>'javascript:void(0)', 'linkOptions'=>array('onclick'=>'document.getElementById(\'email-template-form\').reset();return false;')),
);

$this->slidebar=array(
	array('label'=>Yii::t('Global','Basic information'), 'name'=>'basic-info', 'rel'=>'EmailTemplate-basic-info'),
);

$this->title = Yii::t('BackEnd', 'Update').': '.$model->id;
?>


<?php echo $this->renderPartial('_form', array('model'=>$model)); ?>